export const constantRoute = [
    {
        path:'/login',
        name:'login',
        component:()=>import('@/views/login/index.vue')
    },
    {
        path:'/',
        component:()=>import('@/layout/index.vue'),
        name:'layout',
        redirect:'/home',
        children:[
            {
                path:'/home',
                name:'home',
                component:()=>import('@/views/home/index.vue'),
            }
        ]
    },

]